Hello All |
Re: Attribute exists at the source of a link?
You would need to use the link to get a handle on the module name and then use that to get a handle on the module.
for lref in o <- "*" do {
strModule = fullName source(lref)
sourceModule = read(strModule, false
}
(current ModuleRef__) = sourceModule // where sourceModule is of Module type
|
Re: Attribute exists at the source of a link? AttrDef find(Module m, string attributeName) So get a Module handle on that other module, find the attr, and check if the AttrDef is null.
|
Re: Attribute exists at the source of a link? |